package com.zandequan.modules.article.service;

import com.zandequan.modules.article.entity.CommentEntity;

import java.util.List;
import java.util.Map;

/**
 * 评论
 * 
 * @author treesea
 * @email 2117999344@qq.com
 * @date 2017-08-13 13:09:41
 */
public interface CommentService {
	
	CommentEntity queryObject(Integer commentId);
	
	List<CommentEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(CommentEntity comment);
	
	void update(CommentEntity comment);
	
	void delete(Integer commentId);
	
	void deleteBatch(Integer[] commentIds);
}
